package com.fitness.front.modal.member.dto;

import com.anji.captcha.model.vo.CaptchaVO;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class RegisterFormDto {
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "姓名不能为空")
    private String realName;
    @NotNull(message = "密码不能为空")
    private String password;
    @NotNull(message = "手机号为空")
    private String mobile;
    @NotNull(message = "性别不能为空")
    private String gender;
    @NotNull(message = "身高不能为空")
    private Integer height;
    @NotNull(message = "体重不能为空")
    private Integer weight;
    @NotNull(message = "年龄不能为空")
    private Integer age;
    private String code;
    private CaptchaVO captchaVO;
}
